<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.6"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Percepio Trace Recorder: Trace Multi-Core Event Buffer APIs</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">Percepio Trace Recorder<span id="projectnumber">&#160;v4.10.3</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.6 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('group__trace__multi__core__event__buffer__apis.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle"><div class="title">Trace Multi-Core Event Buffer APIs<div class="ingroups"><a class="el" href="group__trace__recorder__apis.html">Trace Recorder APIs</a></div></div></div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="nested-classes" name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structTraceMultiCoreEventBuffer.html">TraceMultiCoreEventBuffer</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Trace Multi-Core Event Buffer Structure.  <a href="structTraceMultiCoreEventBuffer.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="define-members" name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:gadb329fba83672d7274b724cc4222206a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__trace__multi__core__event__buffer__apis.html#gadb329fba83672d7274b724cc4222206a">xTraceMultiCoreEventBufferAlloc</a>(pxTraceMultiCoreEventBuffer,  uiSize,  ppvData)&#160;&#160;&#160;<a class="el" href="group__trace__event__buffer__apis.html#ga9e4bf49bc95df34cf5b296e79c7c72ad">xTraceEventBufferAlloc</a>((pxTraceMultiCoreEventBuffer)-&gt;xEventBuffer[TRC_CFG_GET_CURRENT_CORE()], uiSize, ppvData)</td></tr>
<tr class="memdesc:gadb329fba83672d7274b724cc4222206a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Allocates a data slot directly from the event buffer.  <br /></td></tr>
<tr class="separator:gadb329fba83672d7274b724cc4222206a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf5ee31252fbbf0c4fcd9574d2de2eaaf"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__trace__multi__core__event__buffer__apis.html#gaf5ee31252fbbf0c4fcd9574d2de2eaaf">xTraceMultiCoreEventBufferAllocCommit</a>(pxTraceMultiCoreEventBuffer,  pvData,  uiSize,  piBytesWritten)&#160;&#160;&#160;<a class="el" href="group__trace__event__buffer__apis.html#ga2b188578828bdeb2bc21f928fa9f99c8">xTraceEventBufferAllocCommit</a>((pxTraceMultiCoreEventBuffer)-&gt;xEventBuffer[TRC_CFG_GET_CURRENT_CORE()], pvData, uiSize, piBytesWritten)</td></tr>
<tr class="memdesc:gaf5ee31252fbbf0c4fcd9574d2de2eaaf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Commits the last allocated block to the event buffer.  <br /></td></tr>
<tr class="separator:gaf5ee31252fbbf0c4fcd9574d2de2eaaf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabd1c68a3c443385a498221cd82ec20a5"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__trace__multi__core__event__buffer__apis.html#gabd1c68a3c443385a498221cd82ec20a5">xTraceMultiCoreEventBufferPush</a>(pxTraceMultiCoreEventBuffer,  pvData,  uiSize,  piBytesWritten)&#160;&#160;&#160;<a class="el" href="group__trace__event__buffer__apis.html#gabbac6eeab72f50d8953dffcfe6d6ddc7">xTraceEventBufferPush</a>((pxTraceMultiCoreEventBuffer)-&gt;xEventBuffer[TRC_CFG_GET_CURRENT_CORE()], pvData, uiSize, piBytesWritten)</td></tr>
<tr class="memdesc:gabd1c68a3c443385a498221cd82ec20a5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Pushes data into multi-core trace event buffer.  <br /></td></tr>
<tr class="separator:gabd1c68a3c443385a498221cd82ec20a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="typedef-members" name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:gaf23fd9ffec1156975504070f60c3e55f"><td class="memItemLeft" align="right" valign="top"><a id="gaf23fd9ffec1156975504070f60c3e55f" name="gaf23fd9ffec1156975504070f60c3e55f"></a>
typedef struct <a class="el" href="structTraceMultiCoreEventBuffer.html">TraceMultiCoreEventBuffer</a>&#160;</td><td class="memItemRight" valign="bottom"><b>TraceMultiCoreEventBuffer_t</b></td></tr>
<tr class="memdesc:gaf23fd9ffec1156975504070f60c3e55f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Trace Multi-Core Event Buffer Structure. <br /></td></tr>
<tr class="separator:gaf23fd9ffec1156975504070f60c3e55f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga9f22ae0699ab9175723fd4187c36ba10"><td class="memItemLeft" align="right" valign="top">traceResult&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__trace__multi__core__event__buffer__apis.html#ga9f22ae0699ab9175723fd4187c36ba10">xTraceMultiCoreEventBufferTransferAll</a> (const <a class="el" href="group__trace__multi__core__event__buffer__apis.html#gaf23fd9ffec1156975504070f60c3e55f">TraceMultiCoreEventBuffer_t</a> *const pxTraceMultiCoreEventBuffer, int32_t *piBytesWritten)</td></tr>
<tr class="memdesc:ga9f22ae0699ab9175723fd4187c36ba10"><td class="mdescLeft">&#160;</td><td class="mdescRight">Transfer multi-core trace event buffer data through streamport.  <br /></td></tr>
<tr class="separator:ga9f22ae0699ab9175723fd4187c36ba10"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga75036ca2ae15eb9f91301417117bff68"><td class="memItemLeft" align="right" valign="top">traceResult&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__trace__multi__core__event__buffer__apis.html#ga75036ca2ae15eb9f91301417117bff68">xTraceMultiCoreEventBufferTransferChunk</a> (const <a class="el" href="group__trace__multi__core__event__buffer__apis.html#gaf23fd9ffec1156975504070f60c3e55f">TraceMultiCoreEventBuffer_t</a> *const pxTraceMultiCoreEventBuffer, uint32_t uiChunkSize, int32_t *piBytesWritten)</td></tr>
<tr class="memdesc:ga75036ca2ae15eb9f91301417117bff68"><td class="mdescLeft">&#160;</td><td class="mdescRight">Transfer multi-core trace event buffer data through streamport.  <br /></td></tr>
<tr class="separator:ga75036ca2ae15eb9f91301417117bff68"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga119a059b35f8d3f71f26f3b794615b58"><td class="memItemLeft" align="right" valign="top">traceResult&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__trace__multi__core__event__buffer__apis.html#ga119a059b35f8d3f71f26f3b794615b58">xTraceMultiCoreEventBufferClear</a> (const <a class="el" href="group__trace__multi__core__event__buffer__apis.html#gaf23fd9ffec1156975504070f60c3e55f">TraceMultiCoreEventBuffer_t</a> *const pxTraceMultiCoreEventBuffer)</td></tr>
<tr class="memdesc:ga119a059b35f8d3f71f26f3b794615b58"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clears all data from event buffer.  <br /></td></tr>
<tr class="separator:ga119a059b35f8d3f71f26f3b794615b58"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a id="gadb329fba83672d7274b724cc4222206a" name="gadb329fba83672d7274b724cc4222206a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gadb329fba83672d7274b724cc4222206a">&#9670;&#160;</a></span>xTraceMultiCoreEventBufferAlloc</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define xTraceMultiCoreEventBufferAlloc</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">pxTraceMultiCoreEventBuffer, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">uiSize, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">ppvData&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;<a class="el" href="group__trace__event__buffer__apis.html#ga9e4bf49bc95df34cf5b296e79c7c72ad">xTraceEventBufferAlloc</a>((pxTraceMultiCoreEventBuffer)-&gt;xEventBuffer[TRC_CFG_GET_CURRENT_CORE()], uiSize, ppvData)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Allocates a data slot directly from the event buffer. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">pxTraceEventBuffer</td><td>Pointer to initialized multi-core trace event buffer. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">uiSize</td><td>Allocation size </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">ppvData</td><td>Pointer that will hold the area from the buffer.</td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">TRC_FAIL</td><td>Failure </td></tr>
    <tr><td class="paramname">TRC_SUCCESS</td><td>Success </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gaf5ee31252fbbf0c4fcd9574d2de2eaaf" name="gaf5ee31252fbbf0c4fcd9574d2de2eaaf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf5ee31252fbbf0c4fcd9574d2de2eaaf">&#9670;&#160;</a></span>xTraceMultiCoreEventBufferAllocCommit</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define xTraceMultiCoreEventBufferAllocCommit</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">pxTraceMultiCoreEventBuffer, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">pvData, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">uiSize, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">piBytesWritten&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;<a class="el" href="group__trace__event__buffer__apis.html#ga2b188578828bdeb2bc21f928fa9f99c8">xTraceEventBufferAllocCommit</a>((pxTraceMultiCoreEventBuffer)-&gt;xEventBuffer[TRC_CFG_GET_CURRENT_CORE()], pvData, uiSize, piBytesWritten)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Commits the last allocated block to the event buffer. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">pxTraceEventBuffer</td><td>Pointer to initialized multi-core trace event buffer.</td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">TRC_FAIL</td><td>Failure </td></tr>
    <tr><td class="paramname">TRC_SUCCESS</td><td>Success </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gabd1c68a3c443385a498221cd82ec20a5" name="gabd1c68a3c443385a498221cd82ec20a5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gabd1c68a3c443385a498221cd82ec20a5">&#9670;&#160;</a></span>xTraceMultiCoreEventBufferPush</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define xTraceMultiCoreEventBufferPush</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">pxTraceMultiCoreEventBuffer, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">pvData, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">uiSize, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">piBytesWritten&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;<a class="el" href="group__trace__event__buffer__apis.html#gabbac6eeab72f50d8953dffcfe6d6ddc7">xTraceEventBufferPush</a>((pxTraceMultiCoreEventBuffer)-&gt;xEventBuffer[TRC_CFG_GET_CURRENT_CORE()], pvData, uiSize, piBytesWritten)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Pushes data into multi-core trace event buffer. </p>
<p>This routine attempts to push data into the multi-core trace event buffer. Selection of which core the data is pushed for is managed automatically through the TRC_CFG_GET_CURRENT_CORE macro which is defined on an RTOS basis.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">pxTraceMultiCoreEventBuffer</td><td>Pointer to initialized multi-core event buffer. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">pvData</td><td>Pointer to data should be pushed into multi-core event buffer. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">uiSize</td><td>Size of data that should be pushed into multi-core trace event buffer. </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">piBytesWritten</td><td>Pointer to variable which the routine will write the number of bytes that was pushed into the multi-core trace event buffer.</td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">TRC_FAIL</td><td>Failure </td></tr>
    <tr><td class="paramname">TRC_SUCCESS</td><td>Success </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="ga119a059b35f8d3f71f26f3b794615b58" name="ga119a059b35f8d3f71f26f3b794615b58"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga119a059b35f8d3f71f26f3b794615b58">&#9670;&#160;</a></span>xTraceMultiCoreEventBufferClear()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">traceResult xTraceMultiCoreEventBufferClear </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="group__trace__multi__core__event__buffer__apis.html#gaf23fd9ffec1156975504070f60c3e55f">TraceMultiCoreEventBuffer_t</a> *const&#160;</td>
          <td class="paramname"><em>pxTraceMultiCoreEventBuffer</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Clears all data from event buffer. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">pxTraceMultiCoreEventBuffer</td><td>Pointer to initialized multi-core trace event buffer.</td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">TRC_FAIL</td><td>Failure </td></tr>
    <tr><td class="paramname">TRC_SUCCESS</td><td>Success </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga9f22ae0699ab9175723fd4187c36ba10" name="ga9f22ae0699ab9175723fd4187c36ba10"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9f22ae0699ab9175723fd4187c36ba10">&#9670;&#160;</a></span>xTraceMultiCoreEventBufferTransferAll()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">traceResult xTraceMultiCoreEventBufferTransferAll </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="group__trace__multi__core__event__buffer__apis.html#gaf23fd9ffec1156975504070f60c3e55f">TraceMultiCoreEventBuffer_t</a> *const&#160;</td>
          <td class="paramname"><em>pxTraceMultiCoreEventBuffer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t *&#160;</td>
          <td class="paramname"><em>piBytesWritten</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Transfer multi-core trace event buffer data through streamport. </p>
<p>This routine will attempt to transfer all existing data in the multi-core trace event buffer through the streamport. New data pushed to the trace event buffer during the execution of this routine will not be transfered to</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">pxTraceMultiCoreEventBuffer</td><td>Pointer to initialized multi-core event buffer. </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">piBytesWritten</td><td>Pointer to variable which the routine will write the number of bytes that was pushed into the multi-core trace event buffer.</td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">TRC_FAIL</td><td>Failure </td></tr>
    <tr><td class="paramname">TRC_SUCCESS</td><td>Success </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga75036ca2ae15eb9f91301417117bff68" name="ga75036ca2ae15eb9f91301417117bff68"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga75036ca2ae15eb9f91301417117bff68">&#9670;&#160;</a></span>xTraceMultiCoreEventBufferTransferChunk()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">traceResult xTraceMultiCoreEventBufferTransferChunk </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="group__trace__multi__core__event__buffer__apis.html#gaf23fd9ffec1156975504070f60c3e55f">TraceMultiCoreEventBuffer_t</a> *const&#160;</td>
          <td class="paramname"><em>pxTraceMultiCoreEventBuffer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>uiChunkSize</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t *&#160;</td>
          <td class="paramname"><em>piBytesWritten</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Transfer multi-core trace event buffer data through streamport. </p>
<p>This routine will attempt to transfer a chunk of stored event data in the multi-core trace event buffer. Note that the chunk size is on a per-core basis with each core event buffer attempting to push up to uiChunkSize of bytes.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">pxTraceMultiCoreEventBuffer</td><td>Pointer to initialized multi-core event buffer. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">uiChunkSize</td><td>Number of bytes to attempt to transfer per core. </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">piBytesWritten</td><td>Pointer to variable which the routine will write the number of bytes that was pushed into the multi-core trace event buffer. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.6 </li>
  </ul>
</div>
</body>
</html>
